package com.dashu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName Index
 * @Description TODO
 * @Author 安楠大叔
 * @Date 2018/9/20 14:37
 * @Notes
 */
@Controller
public class IndexController {

	@RequestMapping("/")//直接映射到根目录下
	@ResponseBody		//直接像浏览器输出
	public String index(){

		return "success";
	}
}
